 {% extends 'base.html' %}  
 {% load static %}
 {% block title %}Tango - Register{% endblock %}
 {% block body_block %}

 <link rel="stylesheet" type="text/css" href="{% static 'signin.css' %}"> 
 <div> 
	<h2>Register with Tango</h2>

	{% if registered %}
	Tango says: <strong>thank you for registering!</strong>
	<a href="/tango/">Return to the homepage.</a><br />
	{% else %}
	Tango says: <strong>register here!</strong><br /> 
	<form  class="form-control" id="user_form" method="post" action="/tango/register/" enctype="multipart/form-data">
		{% csrf_token %}

		<!-- Display each form,The as_p method wraps each element in a paragraph
		(<p>) element.This ensures each element appears on a new line,
		making everything look neater. -->
		{{user_form.as_p}}
		{{profile_form.as_p}}
		<!-- Provide a button to click to submit the form. -->
		<!-- <input type="submit" name="submit" value ="Register" />  -->
		<button class="btn btn-lg btn-primary btn-block" type="submit" value="Submit">Register</button>
	</form>
	{% endif%}
	</div> 
 {% endblock %}
 